package cn.stronglink.assetmanage.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Keep;
import org.greenrobot.greendao.annotation.Transient;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by Tgb on 2018/6/9.
 * 资产类
 */
@Entity
public class Asset {
    /**
     * assetId_ :
     * assetName : cs10
     * assetNo : 101010
     * assetPid_ :
     * brandId : 1003610961693626368
     * brandId_ : 1003610961693626368
     * brandName : 123pp
     * createBy : 878827689403076608
     * createTime : 2018-06-07 15:24:38
     * datacenterId : 1006095273122766848
     * datacenterId_ : 1006095273122766848
     * id : 1004625159103180800
     * id_ : 1004625159103180800
     * manageBranchId_ :
     * modelId : 1003628018308972544
     * modelId_ : 1003628018308972544
     * modelName : ceshi2
     * price : 101.0
     * rackId_ :
     * rfidNo : 76445454
     * roomId : 1006095563536375808
     * roomId_ : 1006095563536375808
     * roomName : 机房地点
     * serialNo : 101010
     * status : 5
     * typeId : 1001812655134208000
     * typeId_ : 1001812655134208000
     * typeName : 123
     * updateBy : 878827689403076608
     * updateTime : 2018-06-13 17:24:09
     * useBranchId_ :
     */
    @Id
    private Long asset_id_key;   // 主键id
    private String orderNo;  // 单号
    private String assetName;
    private String assetNo; //资产编码
    private long brandId;
    private String brandId_;
    private String brandName;
    private long createBy;
    private String createTime;
    private long datacenterId;
    private String datacenterId_;
    private long id;
    private String id_;
    private String manageBranchId_;
    private long modelId;
    private String modelId_;
    private String modelName;
    private double price;
    private String rackId_;
    private String rfidNo;
    private long roomId;
    private String roomId_;
    private String roomName;
    private String serialNo;
    private int status;
    private long typeId;
    private String typeId_;
    private String typeName;
    private long updateBy;
    private String updateTime;
    private String useBranchId_;
    private String pictureUri;    // 图片路径
    private boolean isUpdate;
    @Transient
    private String imagpath;      //图片路径--接口提交用

    @Keep
    public Asset(Long asset_id_key, String orderNo, String assetName,
            String assetNo, long brandId, String brandId_, String brandName,
            long createBy, String createTime, long datacenterId,
            String datacenterId_, long id, String id_, String manageBranchId_,
            long modelId, String modelId_, String modelName, double price,
            String rackId_, String rfidNo, long roomId, String roomId_,
            String roomName, String serialNo, int status, long typeId,
            String typeId_, String typeName, long updateBy, String updateTime,
            String useBranchId_, String pictureUri, boolean isUpdate) {
        this.asset_id_key = asset_id_key;
        this.orderNo = orderNo;
        this.assetName = assetName;
        this.assetNo = assetNo;
        this.brandId = brandId;
        this.brandId_ = brandId_;
        this.brandName = brandName;
        this.createBy = createBy;
        this.createTime = createTime;
        this.datacenterId = datacenterId;
        this.datacenterId_ = datacenterId_;
        this.id = id;
        this.id_ = id_;
        this.manageBranchId_ = manageBranchId_;
        this.modelId = modelId;
        this.modelId_ = modelId_;
        this.modelName = modelName;
        this.price = price;
        this.rackId_ = rackId_;
        this.rfidNo = rfidNo;
        this.roomId = roomId;
        this.roomId_ = roomId_;
        this.roomName = roomName;
        this.serialNo = serialNo;
        this.status = status;
        this.typeId = typeId;
        this.typeId_ = typeId_;
        this.typeName = typeName;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
        this.useBranchId_ = useBranchId_;
        this.pictureUri = pictureUri;
        this.isUpdate = isUpdate;
    }

    @Keep
    public Asset() {
    }

    public String getImagpath() {
        return imagpath;
    }

    public void setImagpath(String imagpath) {
        this.imagpath = imagpath;
    }

    public boolean getIsUpdate() {
        return this.isUpdate;
    }

    public void setIsUpdate(boolean isUpdate) {
        this.isUpdate = isUpdate;
    }

    public String getPictureUri() {
        return this.pictureUri;
    }

    public void setPictureUri(String pictureUri) {
        this.pictureUri = pictureUri;
    }

    public String getUseBranchId_() {
        return this.useBranchId_;
    }

    public void setUseBranchId_(String useBranchId_) {
        this.useBranchId_ = useBranchId_;
    }

    public String getUpdateTime() {
        return this.updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public long getUpdateBy() {
        return this.updateBy;
    }

    public void setUpdateBy(long updateBy) {
        this.updateBy = updateBy;
    }

    public String getTypeName() {
        return this.typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTypeId_() {
        return this.typeId_;
    }

    public void setTypeId_(String typeId_) {
        this.typeId_ = typeId_;
    }

    public long getTypeId() {
        return this.typeId;
    }

    public void setTypeId(long typeId) {
        this.typeId = typeId;
    }

    public int getStatus() {
        return this.status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getSerialNo() {
        return this.serialNo;
    }

    public void setSerialNo(String serialNo) {
        this.serialNo = serialNo;
    }

    public String getRoomName() {
        return this.roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public String getRoomId_() {
        return this.roomId_;
    }

    public void setRoomId_(String roomId_) {
        this.roomId_ = roomId_;
    }

    public long getRoomId() {
        return this.roomId;
    }

    public void setRoomId(long roomId) {
        this.roomId = roomId;
    }

    public String getRfidNo() {
        return this.rfidNo;
    }

    public void setRfidNo(String rfidNo) {
        this.rfidNo = rfidNo;
    }

    public String getRackId_() {
        return this.rackId_;
    }

    public void setRackId_(String rackId_) {
        this.rackId_ = rackId_;
    }

    public double getPrice() {
        return this.price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getModelName() {
        return this.modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getModelId_() {
        return this.modelId_;
    }

    public void setModelId_(String modelId_) {
        this.modelId_ = modelId_;
    }

    public long getModelId() {
        return this.modelId;
    }

    public void setModelId(long modelId) {
        this.modelId = modelId;
    }

    public String getManageBranchId_() {
        return this.manageBranchId_;
    }

    public void setManageBranchId_(String manageBranchId_) {
        this.manageBranchId_ = manageBranchId_;
    }

    public String getId_() {
        return this.id_;
    }

    public void setId_(String id_) {
        this.id_ = id_;
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getDatacenterId_() {
        return this.datacenterId_;
    }

    public void setDatacenterId_(String datacenterId_) {
        this.datacenterId_ = datacenterId_;
    }

    public long getDatacenterId() {
        return this.datacenterId;
    }

    public void setDatacenterId(long datacenterId) {
        this.datacenterId = datacenterId;
    }

    public String getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public long getCreateBy() {
        return this.createBy;
    }

    public void setCreateBy(long createBy) {
        this.createBy = createBy;
    }

    public String getBrandName() {
        return this.brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getBrandId_() {
        return this.brandId_;
    }

    public void setBrandId_(String brandId_) {
        this.brandId_ = brandId_;
    }

    public long getBrandId() {
        return this.brandId;
    }

    public void setBrandId(long brandId) {
        this.brandId = brandId;
    }

    public String getAssetNo() {
        return this.assetNo;
    }

    public void setAssetNo(String assetNo) {
        this.assetNo = assetNo;
    }

    public String getAssetName() {
        return this.assetName;
    }

    public void setAssetName(String assetName) {
        this.assetName = assetName;
    }

    public String getOrderNo() {
        return this.orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Long getAsset_id_key() {
        return this.asset_id_key;
    }

    public void setAsset_id_key(Long asset_id_key) {
        this.asset_id_key = asset_id_key;
    }

     


}
